package com.sams.service.impl;

/*
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.sams.entity.Outerinfo;
import com.sams.entity.OuterinfoExample;
import com.sams.mapper.OuterinfoMapper;
import com.sams.service.OuterinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
*/
 
public class OuterinfoServiceImpl  {
	/*
	 * @Autowired private OuterinfoMapper outerinfoMapper; //添加部门信息 public int
	 * add(Outerinfo outerinfo) { return outerinfoMapper.insert(outerinfo); }
	 * //修改宣传信息 public int update(Outerinfo outerinfo) { return
	 * outerinfoMapper.updateByPrimaryKey(outerinfo); }
	 * 
	 * 
	 * 
	 * //分页 public PageInfo<Outerinfo> listDepart(Integer currentPage) {
	 * PageHelper.startPage(currentPage, 5); OuterinfoExample outerinfoExample=new
	 * OuterinfoExample(); OuterinfoExample.Criteria criteria =
	 * outerinfoExample.createCriteria(); List<Outerinfo> outerinfos =
	 * outerinfoMapper.selectByExample(outerinfoExample); PageInfo<Outerinfo>
	 * outerinfoPageInfo = new PageInfo<Outerinfo>(outerinfos); return
	 * outerinfoPageInfo; }
	 * 
	 * 
	 */

}
